﻿<%@ Page Language="C#" MasterPageFile="~/APP/MasterPage_appCom.master" AutoEventWireup="true"
    CodeFile="frmA_OtherOrgTraineeList.aspx.cs" Inherits="APP_frmA_OtherOrgTraineeList"
    Title="Untitled Page" %>

<%@ Register Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    実習実施機関
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <script src="~js/jquery-1.4.1.min.js" type="text/javascript"></script>

    <script src="~js/ScrollableGridPlugin.js" type="text/javascript"></script>
    <script src="../js/jquery.blockUI.js" type="text/javascript"></script>
     <script type="text/javascript" src="../js/jquery.min.js"></script>
    <script src="../js/Validation.js" type="text/javascript"></script>
    
    <script language="JavaScript" type="text/javascript">
    
        $(document).ready(function() {
            Disable();
        
        });
        
         function Disable()
         {
            //disableControlOnLoadUpdatePanel("<%= UpdatePanel1.ClientID %>", "<%= grv.ClientID %>");
         }
    
    </script>
    
    
    <div class="maindiv1">
        
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
           <%-- <Triggers>
                <asp:AsyncPostBackTrigger ControlID="grv" />
            </Triggers>--%>
            <ContentTemplate>
                <div class="detail-admin-row" style="margin: 50px 65px 25px 50px">
                    <asp:GridView ID="grv" runat="server" AutoGenerateColumns="False" CssClass="mGrid"
                        PagerStyle-CssClass="pgr" AlternatingRowStyle-CssClass="alt"
                        ForeColor="#555555" GridLines="Vertical" AllowPaging="true" PageSize="10" Height="40px"
                        Width="100%" OnPageIndexChanging="grv_PageIndexChanging">
                        <Columns>
                            <asp:TemplateField HeaderText="氏名">
                                <ItemTemplate>
                                    <%--<div style="width: 120px; overflow: hidden">--%>
                                        <asp:Label ID="lk1" runat="server" ToolTip = '<%#Eval("姓").ToString()+" "+Eval("名").ToString()%>'> <%#ShowTextLength1(Eval("姓").ToString()+ " " +Eval("名").ToString())%> </asp:Label>
                                    <%--</div>--%>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="性別">
                                <ItemStyle HorizontalAlign="Center" />
                                <ItemTemplate>
                                    <%#ConvertString(Eval("性別").ToString())%>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="生年月日">
                                <ItemStyle HorizontalAlign="Center" />
                                <ItemTemplate>
                                    <%#ConvertDate(Eval("生年月日").ToString())%>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="国籍">
                                <ItemStyle HorizontalAlign="Center" />
                                <ItemTemplate>
                                    <%#Eval("国籍名")%>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="入国日">
                                <ItemStyle HorizontalAlign="Center" />
                                <ItemTemplate>
                                    <%#ConvertDate(Eval("入国年月日").ToString())%>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="2号移行年月日">
                                <ItemStyle HorizontalAlign="Center" />
                                <ItemTemplate>
                                    <%#ConvertDate(Eval("2号移行年月日").ToString())%>
                                </ItemTemplate>
                            </asp:TemplateField>
                        </Columns>
                        
                        <PagerSettings FirstPageText="最初" Mode="NumericFirstLast" PageButtonCount="5" LastPageText="最後" />
                    </asp:GridView>
                    
                    
                <asp:GridView CssClass ="mGrid" ID="grv1" runat="server" AutoGenerateColumns="False" 
                    PagerStyle-CssClass="pgr" AlternatingRowStyle-CssClass="alt" 
                    GridLines="Vertical"
                    Height="40px" Width="100%">
                <Columns>
                    <asp:BoundField HeaderText="氏名" />
                    <asp:BoundField HeaderText="性別" />
                    <asp:BoundField HeaderText="生年月日" />
                    <asp:BoundField HeaderText="国籍" />
                    <asp:BoundField HeaderText="入国日" />
                     <asp:BoundField HeaderText="2号移行年月日" />
                </Columns>
            
            </asp:GridView>
                </div>
            </ContentTemplate>
        </asp:UpdatePanel>
       
    </div>
</asp:Content>
